package com.gtt.pattern.creational.builder;

/**
 * Car Builder
 * 
 * @author Michael(gao12581@sina.com)
 * @date 2011-2-24 08:50:56
 * 
 */
public class CarBuilder extends Builder {

    public CarBuilder() {
        this.product = new Product("蓝博基尼");
    }

    @Override
    public void buildDoors() {
        this.product.setDoor("向上开启式侧门");
    }

    @Override
    public void buildEngine() {
        this.product.setEngine("V8");
    }

    @Override
    public void buildFrame() {
        this.product.setFrame("跑车");
    }

    @Override
    public void buildWheels() {
        this.product.setWheels("四轮");
    }

}
